import java.util.Scanner;

public class Text6 {
    public static void main(String[] args) {
//        6.接受用户输入的两个数，分别求这两个数的和，差，积，商，模
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入a的数值");
        double a = sc.nextDouble();
        System.out.println("请输入b的数值");
        double b = sc.nextDouble();
        System.out.println("a+b="+(a+b));
        System.out.println("a-b="+(a-b));
        System.out.println("a*b="+(a*b));
        System.out.println("a/b="+(a/b));
        System.out.println("a%b="+(a%b));
    }
}
